<template>
  <div>
    <ie-header></ie-header>
    <ie-content :ieC="ieC"></ie-content>
  </div>
</template>

<script>
import axios from 'axios'
import IeHeader from './components/Header'
import IeContent from './components/Content'
export default {
  name: 'Ie',
  components: {
    IeHeader,
    IeContent
  },
  data () {
    return {
      ieC: {}
    }
  },
  methods: {
    getIeInfo () {
      axios.get('api/ie.json')
        .then(this.handleGetIeInfoSucc)
    },
    handleGetIeInfoSucc (res) {
      res = res.data
      if (res.ret && res.data) {
        const data = res.data
        this.ieC = data.ieC
      }
    }
  },
  mounted () {
    this.getIeInfo()
  }
}
</script>

<style>

</style>
